Wraps a nkGraphics::Entity and offers functions for use in scripting.
More...
Wraps a nkGraphics::Entity and offers functions for use in scripting.
◆ updateEnvironment()
Updates a given environment and set it up to use all functions wrapped by this wrapper.
- Parameters
-
env | The environment to set up. |
◆ addChild()
Wrapper function for the nkGraphics::Entity::addChild().
- Parameters
-
stack | The parameter stack. |
- Returns
- The attribute value, as a nkGraphics::SubEntity.
◆ removeChild()
Wrapper function for the nkGraphics::Entity::removeChild().
e:removeChild(0) ;
- Parameters
-
stack | The parameter stack. |
- Returns
- The attribute value, empty.
◆ setShader()
Wrapper function for the nkGraphics::Entity::setShader().
e:setShader(s) ;
- Parameters
-
stack | The parameter stack. |
- Returns
- The attribute value, empty.
The documentation for this class was generated from the following file:
- Documentation/Headers/NilkinsAstraeus/Scripts/Lua/nkGraphicsWrap/Graph/EntityWrapper.h